package com.zmn.oms.zmn.business.interfaces.orderpay;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.entity.work.OrderWork;

/**
 * @author sunlife
 * @date:2020/12/10 11:51 上午
 * description: 支付校验BService
 */
public interface OrderPayVerifyBService {
    /**
     * 校验工程师是否现场支付，如果不是，抛出异常
     * @param orderWork
     * @param longitude
     * @param latitude
     */
    void verifyPayPosition(OrderWork orderWork, Double longitude, Double latitude) throws OmsBaseException;
}
